package com.peaker.advertisingpro.receiver

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import com.peaker.advertisingpro.utils.DateTimeUtil
import com.peaker.advertisingpro.utils.ToastUtils

/**
 *  @ 作者 CODE_LYF
 *  @ 时间   2021/4/18.
 *  代码人生
 */
class AlarmReceiver : BroadcastReceiver() {
    override fun onReceive(context: Context?, intent: Intent?) {
        ToastUtils.s(
            "从服务启动广播：at " + DateTimeUtil.getCurrentDateTimeString());
        Log.d("Alarm", "从服务启动广播：at " + DateTimeUtil.getCurrentDateTimeString());
    }
}